Skip to content

ILEX-83 Connect the sign-in form to the ORCID and integrate user authentication in the application state#85

Merged
ddelpiano merged 31 commits intodevelfrom
feature/ILEX-83
Apr 8, 2025
Merged

ILEX-83 Connect the sign-in form to the ORCID and integrate user authentication in the application state#85
ddelpiano merged 31 commits intodevelfrom
feature/ILEX-83

Conversation

@Aiga115
Copy link

@Aiga115 Aiga115 commented Apr 3, 2025

Issue #ILEX-83
Problem: Connect the sign-in form to the ORCID and integrate user authentication in the application state
Solution:

  1. Open new orcid page when signing in through orcid and get data from event messager
  2. Set data to global context that is coming from event messager

Issue #ILEX-97

  1. Change Avatar image to be more generic by using person icon
  2. Connect information that is coming from user context

Issue #ILEX-96

  1. Add inputs validation
  2. Add username field
Recording.2025-04-03.162001.mp4

Aiga115 and others added 29 commits February 13, 2025 15:45
@Aiga115 Aiga115 requested a review from ddelpiano April 3, 2025 14:21
index.html Outdated
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
<script> const global = globalThis; </script>
<div id="orcidWidget" style="display: none;"></div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Aiga115 could clean this up? we do not need the widget anymore. Thanks

src/App.jsx Outdated
};

function App() {
const initialized = useRef(false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Aiga115 can we clean this up as well? Thanks

) => {
return customInstance<void>(
{
url: `https://uri.olympiangods.org/u/ops/user-login`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use the const variables instead of hardcoding the url and endpoints please, so that if later we need to change these we can change them from a single point.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ddelpiano I changed the api to use constant variables but just a reminder that i am not using this function for signing in, th login function is in src/api/endpoints/apiService file

@Aiga115 Aiga115 requested a review from ddelpiano April 8, 2025 09:37
@ddelpiano ddelpiano merged commit ba74c67 into devel Apr 8, 2025
1 check passed
@ddelpiano ddelpiano deleted the feature/ILEX-83 branch May 20, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants